<?php
/**
 * Created by PhpStorm.
 * User: Kyle
 * Date: 2019/7/17
 * Time: 15:17
 */

namespace app\common\model;


use think\Model;

class User extends Model
{
    protected $pk = 'user_id';

    public function getUserInfo($id){
        return self::get($id);
    }
}